package cn.liumouren.tool.security.autoconfigure.component;

import cn.liumouren.tool.security.core.DlFilterRegistry;
import cn.liumouren.tool.security.core.DlInterceptorRegistry;

/**
 * @author Daniel Liu
 * @date 2021/3/13 13:21
 */
public class SecurityHolder {

    private DlFilterRegistry filterRegistry;
    private DlInterceptorRegistry interceptorRegistry;
    private boolean enable = true;

    public DlFilterRegistry getFilterRegistry() {
        return filterRegistry;
    }

    public void setFilterRegistry(DlFilterRegistry filterRegistry) {
        this.filterRegistry = filterRegistry;
    }

    public DlInterceptorRegistry getInterceptorRegistry() {
        return interceptorRegistry;
    }

    public void setInterceptorRegistry(DlInterceptorRegistry interceptorRegistry) {
        this.interceptorRegistry = interceptorRegistry;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
